package com.xmg.beanpostprocessor;

import org.springframework.beans.factory.BeanNameAware;
import org.springframework.stereotype.Component;

public class CustomizeBeanNameAware implements BeanNameAware {
    private String beanName;
    @Override
    public void setBeanName(String s) {
        this.beanName = s;
    }

    public String getBeanName(){
        return this.beanName;
    }
}
